package com.nosnow.ucenter.service;

import com.nosnow.ucenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nosnow.ucenter.entity.vo.LoginVo;
import com.nosnow.ucenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author bingheng
 * @since 2020-04-26
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    // 用户登录
    String login(LoginVo loginVo);

    // 用户注册
    void register(RegisterVo registerVo);

    // 判断微信扫码用户是否存在
    UcenterMember getOpenIdMember(String openid);

    // 根据日期查询某一天的注册人数
    Integer countRegisterDay(String day);
}
